package com.zc.app.shiro.dao;


import com.zc.app.shiro.peer.OrganizationPeer;

import java.util.List;


public interface OrganizationDao {

    public OrganizationPeer createOrganization(OrganizationPeer organization);
    public OrganizationPeer updateOrganization(OrganizationPeer organization);
    public void deleteOrganization(Long organizationId);

    OrganizationPeer findOne(Long organizationId);
    List<OrganizationPeer> findAll();

    List<OrganizationPeer> findAllWithExclude(OrganizationPeer excludeOraganization);

    void move(OrganizationPeer source, OrganizationPeer target);
}
